import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;

import org.junit.Test;
/**
 * 
 * @author asus
 *
 */
public class Domain {
	/**
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		final double PI=Math.PI;
		System.out.println(PI);
		int d=1234567890;
		int s=12120;
		System.out.println(s==d);
		float i=999.99f;
		System.out.println(Math.round(i));
		System.out.println("\u2323");
		String q="qwe";
		System.out.println(q.length());
		String w=new String("qwe");
		System.out.println(q.equals(w));
		int index=q.offsetByCodePoints(0,2);
		int cp=q.codePointAt(index);
		System.out.println(cp);
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd  hh:mm:ss");
		String date=sdf.format(new Date());
		System.out.println(date);
		int array[]={12,3,45,34,345,564,5,1};
		Arrays.sort(array);
		int[] arrays1 = null;
		System.out.println(Arrays.toString(array));
		arrays1=Arrays.copyOf(array, array.length);
		System.out.println(Arrays.toString(arrays1));
	}
	@Test
	private void f1() {
		// TODO Auto-generated method stub
		Junit1 j=new Junit1();
	}
}
